.class Lcom/openfeint/internal/request/Client$5;
.super Ljava/lang/Object;
.source "Client.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/openfeint/internal/request/Client;->makeRequest(Lcom/openfeint/internal/request/BaseRequest;J)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/openfeint/internal/request/Client;

.field private final synthetic val$onResponse:Ljava/lang/Runnable;

.field private final synthetic val$onTimeout:Ljava/lang/Runnable;

.field private final synthetic val$req:Lcom/openfeint/internal/request/BaseRequest;

.field private final synthetic val$timeoutMillis:J


# direct methods
.method constructor <init>(Lcom/openfeint/internal/request/Client;Ljava/lang/Runnable;JLcom/openfeint/internal/request/BaseRequest;Ljava/lang/Runnable;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/openfeint/internal/request/Client$5;->this$0:Lcom/openfeint/internal/request/Client;

    iput-object p2, p0, Lcom/openfeint/internal/request/Client$5;->val$onTimeout:Ljava/lang/Runnable;

    iput-wide p3, p0, Lcom/openfeint/internal/request/Client$5;->val$timeoutMillis:J

    iput-object p5, p0, Lcom/openfeint/internal/request/Client$5;->val$req:Lcom/openfeint/internal/request/BaseRequest;

    iput-object p6, p0, Lcom/openfeint/internal/request/Client$5;->val$onResponse:Ljava/lang/Runnable;

    .line 177
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 180
    iget-object v0, p0, Lcom/openfeint/internal/request/Client$5;->this$0:Lcom/openfeint/internal/request/Client;

    #getter for: Lcom/openfeint/internal/request/Client;->mMainThreadHandler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/openfeint/internal/request/Client;->access$0(Lcom/openfeint/internal/request/Client;)Landroid/os/Handler;

    move-result-object v0

    iget-object v1, p0, Lcom/openfeint/internal/request/Client$5;->val$onTimeout:Ljava/lang/Runnable;

    iget-wide v2, p0, Lcom/openfeint/internal/request/Client$5;->val$timeoutMillis:J

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 181
    iget-object v0, p0, Lcom/openfeint/internal/request/Client$5;->val$req:Lcom/openfeint/internal/request/BaseRequest;

    iget-object v1, p0, Lcom/openfeint/internal/request/Client$5;->this$0:Lcom/openfeint/internal/request/Client;

    #getter for: Lcom/openfeint/internal/request/Client;->mSigner:Lcom/openfeint/internal/request/Signer;
    invoke-static {v1}, Lcom/openfeint/internal/request/Client;->access$1(Lcom/openfeint/internal/request/Client;)Lcom/openfeint/internal/request/Signer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/openfeint/internal/request/BaseRequest;->sign(Lcom/openfeint/internal/request/Signer;)V

    .line 182
    iget-object v0, p0, Lcom/openfeint/internal/request/Client$5;->val$req:Lcom/openfeint/internal/request/BaseRequest;

    iget-object v1, p0, Lcom/openfeint/internal/request/Client$5;->this$0:Lcom/openfeint/internal/request/Client;

    #getter for: Lcom/openfeint/internal/request/Client;->mForceOffline:Z
    invoke-static {v1}, Lcom/openfeint/internal/request/Client;->access$2(Lcom/openfeint/internal/request/Client;)Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/openfeint/internal/request/BaseRequest;->exec(Z)V

    .line 183
    iget-object v0, p0, Lcom/openfeint/internal/request/Client$5;->this$0:Lcom/openfeint/internal/request/Client;

    #getter for: Lcom/openfeint/internal/request/Client;->mMainThreadHandler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/openfeint/internal/request/Client;->access$0(Lcom/openfeint/internal/request/Client;)Landroid/os/Handler;

    move-result-object v0

    iget-object v1, p0, Lcom/openfeint/internal/request/Client$5;->val$onTimeout:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 184
    iget-object v0, p0, Lcom/openfeint/internal/request/Client$5;->this$0:Lcom/openfeint/internal/request/Client;

    #getter for: Lcom/openfeint/internal/request/Client;->mMainThreadHandler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/openfeint/internal/request/Client;->access$0(Lcom/openfeint/internal/request/Client;)Landroid/os/Handler;

    move-result-object v0

    iget-object v1, p0, Lcom/openfeint/internal/request/Client$5;->val$onResponse:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 185
    return-void
.end method
